﻿using System;
using System.Collections.Generic;

namespace TCKQKL.FrontEnd.DataModel
{
    public class PersonalTradingResultUI
    {
        private TotalTradingResultUI _mainTradingResult;
        public TotalTradingResultUI MainTradingResult
        {
            get { return _mainTradingResult; }
            set { _mainTradingResult = value; }
        }

        private List<TotalTradingResultUI> _assignTradingResult;
        public List<TotalTradingResultUI> AssignTradingResult
        {
            get { return _assignTradingResult; }
            set { _assignTradingResult = value; }
        }

        private decimal _totalValue;
        public decimal TotalValue
        {
            get { return _totalValue; }
            set { _totalValue = value; }
        }

        private decimal _totalFee;
        public decimal TotalFee
        {
            get { return _totalFee; }
            set { _totalFee = value; }
        }

        public PersonalTradingResultUI()
        {

        }
        public PersonalTradingResultUI(TotalTradingResultUI main, List<TotalTradingResultUI> assign, decimal value, decimal fee)
        {
            this._mainTradingResult = main;
            this._assignTradingResult = assign;
            this._totalValue = value;
            this._totalFee = fee;
        }
    }
}
